package com.hyts.mvc.base.wrapper;

import com.hyts.mvc.base.WebAware;
import com.hyts.mvc.bean.ServletRegistrationBean;

import java.util.List;

/**
 * project-name:coffice-toolbox
 * package-name:com.hyts.mvc.base.wrapper
 * author:Libo/Alex
 * create-date:2019-07-02 22:43
 * email:liboware@gmail.com
 * description:此类主要用于:
 */
public abstract class ServletWrapper extends WebAware {

    /**
     * 操作加载服务组件功能-servlet
     * @param servletRegistration
     */
    public abstract void addServlet(ServletRegistrationBean servletRegistration);

    /**
     * 操作加载服务组件功能-servlet
     * @param servletRegistrationList
     */
    public abstract void addServlet(List<ServletRegistrationBean> servletRegistrationList);
}
